package com.kedou.sdk.params;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/6/6 0006.
 */
public class CreatSmallAccountResponseParams extends ResponseParams<CreatSmallAccountResponseParams.CreateSamllAccountData> {

    public CreatSmallAccountResponseParams() {

    }

    protected CreatSmallAccountResponseParams(Parcel in) {
        super(in);
    }

    public static class CreateSamllAccountData implements Parcelable {

        public static final Creator<CreateSamllAccountData> CREATOR = new Creator<CreateSamllAccountData>() {
            @Override
            public CreateSamllAccountData createFromParcel(Parcel source) {
                return new CreateSamllAccountData(source);
            }

            @Override
            public CreateSamllAccountData[] newArray(int size) {
                return new CreateSamllAccountData[size];
            }
        };
        private String id;
        private String nickname;
        private String username;


        public CreateSamllAccountData() {
        }

        protected CreateSamllAccountData(Parcel in) {
            this.id = in.readString();
            this.nickname = in.readString();
            this.username = in.readString();

        }


        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(this.id);
            dest.writeString(this.nickname);
            dest.writeString(this.username);
        }
    }
}
